﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Web.Mvc;

namespace nanoCMS.Blog.WebUI.Models.ViewModels {
	public class BlogPostVM {
		public int BlogPostID { get; set; }
		[Required]
		public string Title { get; set; }
		[AllowHtml]
		public string Summary { get; set; }
		[AllowHtml]
		public string Content { get; set; }
		public DateTime CreatedDate { get; set; }
		public DateTime? ModifiedDate { get; set; }
		public int CreatedBy { get; set; }
		public int? ModifiedBy { get; set; }
		public bool CommentsAllowed { get; set; }
		public DateTime? PublishedFrom { get; set; }
		public DateTime? PublishedTo { get; set; }
		public bool Sticky { get; set; }
		public string PrimaryImage { get; set; }
	}
}
